<?php
global $language, $base_url, $base_path;
$action_prefix = "/".$language->language . $base_path;
?>
<div class="row">
    <div class="span10 offset1">
        <div class="framed2">
            <div class="framed2-header">
                <h2>
                  <?php print t('Publish'); ?>
                </h2>
            </div>
            <div class="framed2-inner">
                <?php if($items['status'] == 2):?>
                <p>
                  <?php print t("Your experience is awaiting approval. You'll receive a confirmation email shortly.");?>
                </p>
                <p>
                  <?php print t("Thanks for listing your experience on Suntrip!");?>
                </p>
                <?php endif;?>
                <p>
                  <form accept-charset="UTF-8" action="" method="post">
                      <input type="hidden" value="1" name="publish"/>
                      <a class="btn btn-large" href="<?php print $action_prefix;?>experience/<?php print arg(2); ?>"
                      target="_blank">
                          <i class="icon-eye-open">
                          </i><?php print t("Preview"); ?>
                      </a>

                    <input type="submit" value="<?php print t("Publish"); ?>" class="btn btn-large red-btn btn-primary form-submit">
                  </form>
                </p>
            </div>
            <div class="framed2-inner">
            </div>
        </div>
    </div>
</div>
